﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLPM.DAO;
using QLPM.DTO;

namespace QLPM.BUS
{
    public class DonGiaBUS
    {
        public List<DonGia> DanhSachDonGia(int maThuoc)
        {
            return new DonGiaDAO().DanhSachDonGia(maThuoc);
        }

        public int ThemDonGia(DonGia dg)
        {
            return new DonGiaDAO().ThemDonGia(dg);
        }

        public int XoaDonGia(DonGia dg)
        {
            return new DonGiaDAO().XoaDonGia(dg);
        }

        public int SuaDonGia(DonGia dg)
        {
            return new DonGiaDAO().SuaDonGia(dg);
        }
    }
}
